Skip to main content

mediaFoundationVideoProcessorSetSourceRect

Type

command

Summary

Set the source rect of the video processor Platform:desktop

Syntax

mediaFoundationVideoProcessorSetSourceRect <pVideoProcessorID>, <pLeft>, <pTop>, <pRight>, <pBottom>

Description

Set the source and destination rect when transcoding video from one frame size to another.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pVideoProcessorID

integer

A video processor id

pLeft

integer

The left of the source rect

pTop

integer

The top of the source rect

pRight

integer

The right of the source rect

pBottom

integer

The bottom of the source rect

The result (c-string): An error string if an error occured

command: mediaFoundationTranscode, mediaFoundationCreateVideoProcessor

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?